package org.mindrive.system.parameter.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;

@ApiModel(value = "密码参数", description = "密码参数")
public class PasswordParameter {

	@ApiModelProperty(value = "旧密码")
	@NotEmpty(message = "旧密码不能为空")
	private String oldpassword = "";


	@ApiModelProperty(value = "新密码")
	@NotEmpty(message = "新密码不能为空")
	private String newpassword = "";


	public String getOldpassword() {
		return oldpassword;
	}

	public void setOldpassword(String oldpassword) {
		this.oldpassword = oldpassword;
	}

	public String getNewpassword() {
		return newpassword;
	}

	public void setNewpassword(String newpassword) {
		this.newpassword = newpassword;
	}

}
